package com.yqg.education.controller.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

/**
 * 学员端试卷提交答案实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ExamAnswerDetailDTO {
    /**
     * 课程ID
     */
    private Long courseId;
    /**
     * 学员ID
     */
    private Long stuId;
    /**
     * 学员提交答案列表
     */
    private List<Map<String,Object>> answerList;
    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime startTime;

    /**
     * 结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime endTime;
}
